package com.qfedu.knowledge.entity.enums;

import lombok.Getter;

/**
 * @ClassName FileTypeEnum
 * @Author ykx
 * @Date 2024/5/16 22:40
 * @Version 1.0
 */
@Getter
public enum FileTypeEnum {

    QUESTION_FILE(1, "问题单附件"),
    HOME_FILE(2, "主页面图片");

    /**
     * 错误码
     */
    private Integer code;

    /**
     * 异常消息
     */
    private String desc;


    FileTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
